export Function
SwitchInlineQueryCurrentChat ​
Constructor ​
ts
KeyboardButton.SwitchInlineQueryCurrentChat( text, switch_inline_query_current_chat )
Parameter | Type | Description |
---|---|---|
text | string | Label text on the button. |
switch_inline_query_current_chat | string | If set, pressing the button will insert the bot's username and the specified inline query in the current chat's input field. May be empty, in which case only the bot's username will be inserted. |
Return: KeyboardButtonPayload